import { createRouter, createWebHistory } from 'vue-router'
import dqxzView from '@/views/home/dqxz.vue'
import dzlbView from '@/views/home/dzlb.vue'
import jsView from '@/views/home/js.vue'
import tjdzView from '@/views/home/tjdz.vue'
import ddView from '@/views/home/dd.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', redirect: '/tjdz' },
    { path: '/dqxz', name: 'dqxz', component: dqxzView, },
    { path: '/dzlb', name: 'dzlb', component: dzlbView, },
    { path: '/js', name: 'js', component: jsView, },
    { path: '/tjdz', name: 'tjdz', component: tjdzView, },
    { path: '/dd', name: 'dd', component: ddView, },

  ],
})

export default router
